import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useChannelStore = defineStore('channel', () => {

  const activeChannelId = ref(1);

  const changeActiveChannelId = (id: number) => {
    activeChannelId.value = id;
  };

  return {
    activeChannelId,
    changeActiveChannelId
  }
})